﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace myomscl.Interfaces
{
    #region delegate
    public delegate void IContractorDtlsViewLoad();
    public delegate Boolean IContractorDtlsViewUpdate();
    #endregion

    public interface IContractorDtlsView : IView
    {
        #region properties
        Int32? Id { get; set; }
        Boolean IsDisabled { set; get; }
        String Name { get; set; }
        String PostAddress { get; set; }
        String PostCode { get; set; }
        String City { get; set; }        
        String Email { get; set; }
        String FirstName { set; get; }
        String LastName { set; get; }
        String Phone1 { set; get; }
        String Phone2 { set; get; }
        String ExceptionField { get; set; }

        #endregion

        #region events
        event IContractorDtlsViewLoad OnPageLoad;
        event IContractorDtlsViewUpdate OnUpdate;

        #endregion
    }
}
